package com.lsyw.intergrate.entity.common;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Map;


@ApiModel("分页数据")
@Data
@EqualsAndHashCode(callSuper = false)
public class BasicPageInfo<T> {
    //当前页码
    @ApiModelProperty(value = "当前页码")
    int pageNum = 1;

    //记录数量
    @ApiModelProperty(value = "记录数量")
    int pageSize = 10;

    //查询条件
    @ApiModelProperty(value = "查询条件")
    String searchWord;

    //多条件查询
    @ApiModelProperty(value = "多条件查询")
    T condition;
}
